#include"List.h"

void text01() {
	//LTNode* plist = NULL;
	//LTInit(&plist);
	LTNode* plist = LTInit();
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);
	LTPrint(plist);

	//LTPushFront(plist, 1);
	//LTPushFront(plist, 2);
	//LTPushFront(plist, 3);
	//LTPushFront(plist, 4);
	//LTPrint(plist);
	
	//LTPopBack(plist);
	//LTPopBack(plist);
	//LTPrint(plist);
	
	//LTPopFront(plist);
	//LTPopFront(plist);
	//LTPrint(plist);

	//LTNode* findret1 = LTFind(plist, 3);
	//LTInsert(findret1, 50);
	//LTNode* findret2 = LTFind(plist, 1);
	//LTInsert(findret2, 20);
	//LTPrint(plist);

	//LTNode* findret1 = LTFind(plist, 2);
	//LTErase(findret1);
	//LTNode* findret2 = LTFind(plist, 4);
	//LTErase(findret2);
	//LTPrint(plist);

	LTDesTory(&plist);
	plist = NULL;
}

int main() {
	text01();

	return 0;
}